﻿using SCM.Common;
using SCM.Model.DBEntity;
using System.Collections.Generic;

namespace SCM.Servie.IBusiness
{
    /// <summary>
    /// 豁免条款服务接口
    /// </summary>
    public interface IExemptionService
    {
        string Add(T_Exemption model);

        bool Delete(List<string> ids);

        bool Update(T_Exemption model);

        bool SaveOrUpdate(List<T_Exemption> list);

        T_Exemption GetById(string id);

        List<T_Exemption> GetList(string code);

        PageData<T_Exemption> Query(string code, PageInfo page);
    }
}
